package com.ktjy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ktjy.pojo.Storage;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jjx
 * @since 2025-01-16
 */
public interface StorageMapper extends BaseMapper<Storage> {
    /**
     * 查询仓库和产品表，进行分页
     * @param page 分页条件
     * @param param 过滤条件
     * @return
     */
    public IPage<Storage> getByPage(IPage<Storage> page,
                                    @Param("param") Map<String,Object> param);
}
